home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 Extra / Chip_Extra_1999.iso / share / aktuell / mimarzip / m8vcs99.exe / MimarSinan ACE Wrapper (ACE) / ace12b / UNACESRC / UNIX / MAKEFILE < prev    next >
Encoding:
Text File  |  1998-07-03  |  1.9 KB  |  64 lines

  1. # The unregistered unace GNU makefile
  2. # if you don't have GNU make or bash, then you should proly
  3. # remove the ifeq <-> endif statments, and configure CFLAGS yourself
  4. #
  5. # orig - chad hurwitz 3-11-98 churritz@cts.com
  6. #
  7. # -DCASEINSENSE is for people with case insensitive filesystems
  8. #
  9.  
  10. OBJ = globals.o uac_comm.o uac_crc.o uac_crt.o uac_dcpr.o uac_sys.o unace.o
  11. SRC = globals.c uac_comm.c uac_crc.c uac_crt.c uac_dcpr.c uac_sys.c unace.c
  12.  
  13. #CFLAGS = -dNOSTRICMP         #for UNIX compilers not supporting stricmp()
  14. #CFLAGS = -dHI_LO_BYTE_ORDER  #select correct byte order for your machine!!
  15.  
  16. #CFLAGS = -Wall -O3 -s #-DNDEBUG
  17. #CFLAGS = -g -Wall -DMDEBUG
  18. #CFLAGS = -O3 -fno-strength-reduce -fomit-frame-pointer # These are for Linux
  19. CFLAGS = -O -g -Wall -dLO_HI_BYTE_ORDER
  20. CHALLOC = challoc.o
  21. CHALLOC =
  22. CHNEW = chnew.o challoc.o
  23. CC = gcc
  24.  
  25. ifeq ($(OSTYPE), Linux)
  26. CFLAGS += -DUNIX -DCASEINSENSE
  27. else
  28. ifeq ($(OSTYPE), DOS)
  29. EXEEXT = .exe
  30. CFLAGS += -DDOS
  31. else
  32. CFLAGS += -DUNIX -DCASEINSENSE
  33. endif
  34. endif
  35.  
  36. # not all systems require the math library
  37. #LIBS = -lm
  38.  
  39.  
  40. unace$(EXEEXT): $(OBJ) $(CHALLOC)
  41.     gcc $(CFLAGS) -o $@ $^ $(LIBS)
  42.  
  43. clean:
  44.     rm -f *.o a.out core unace unace.exe
  45.  
  46. dep:
  47.     chmod a+rx ./gccmaked
  48.     ./gccmaked -- $(CFLAGS) -- *.c*
  49.     rm -f ?akefile.bak
  50.  
  51. # DO NOT DELETE
  52. globals.o: globals.c os.h acestruc.h declare.h portable.h unace.h
  53. uac_comm.o: uac_comm.c globals.h acestruc.h declare.h portable.h os.h \
  54.  unace.h uac_dcpr.h uac_comm.h
  55. uac_crc.o: uac_crc.c uac_crc.h declare.h
  56. uac_crt.o: uac_crt.c os.h globals.h acestruc.h declare.h portable.h \
  57.  unace.h uac_crt.h uac_sys.h
  58. uac_dcpr.o: uac_dcpr.c os.h globals.h acestruc.h declare.h portable.h \
  59.  unace.h uac_comm.h uac_crc.h uac_dcpr.h uac_sys.h
  60. uac_sys.o: uac_sys.c os.h globals.h acestruc.h declare.h portable.h \
  61.  unace.h uac_sys.h
  62. unace.o: unace.c os.h globals.h acestruc.h declare.h portable.h \
  63.  unace.h uac_comm.h uac_crc.h uac_crt.h uac_dcpr.h uac_sys.h
  64.